package com.yic.module.device.convert.receive;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.device.controller.admin.receive.vo.*;
import com.yic.module.device.dal.dataobject.receive.ReceiveDO;

/**
 * 领用申请 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface ReceiveConvert {

    ReceiveConvert INSTANCE = Mappers.getMapper(ReceiveConvert.class);

    ReceiveDO convert(ReceiveCreateReqVO bean);

    ReceiveDO convert(ReceiveUpdateReqVO bean);

    ReceiveRespVO convert(ReceiveDO bean);

    List<ReceiveRespVO> convertList(List<ReceiveDO> list);

    PageResult<ReceiveRespVO> convertPage(PageResult<ReceiveDO> page);

    List<ReceiveExcelVO> convertList02(List<ReceiveDO> list);

}
